package grafikon;

import java.awt.Color;
import java.io.Serializable;
import java.util.ArrayList;

/**
 *
 * @author Csüti
 */
public class CoordsList implements Serializable {

    public ArrayList<Coords> coords = new ArrayList<Coords>();  //Contains the coordinate pairs
    public String name = "";                                    //The name of the list (unique)
    public Color color;                                         //The color of the list ()

    public CoordsList(String n, ArrayList<Coords> c) {
        coords = (ArrayList<Coords>) c.clone();
        name = n;
        color = Color.BLACK;
    }

    public void add(Coords coord) {
        coords.add(coord);
    }
}
